<template>
  <div class="course">
    <a-button @click="jumpRouter">跳转</a-button>

    <hr>

    测试默认字体大小

  </div>
</template>

<script>
  import AgoraRTC from 'agora-rtc-sdk'

  import { getVideoDevices, getAudioDevices } from '@/utils/agora'

  export default {
    name: 'LessonCourse',

    data () {
      return {
        projects: []
      }
    },

    created () {
      let vds = getVideoDevices()
      console.log(vds)

      let ads = getAudioDevices()
      console.log(ads)
    },

    methods: {
      jumpRouter () {
        this.$router.push({ name: 'lesson_live', params: { id: 123 } })
      }
    }
  }
</script>

<style lang="less" scoped>
  .course {
    background-color: #cf4a51;
    height: 100%;
  }

</style>
